package cn.edu.hunau.pm.request;

import jakarta.validation.constraints.NotBlank;

/**
 * @author hb
 * @date 2024-06-19 10:44:36
 */
public class ReqUser {
    //[Fn]+alt+insert
    @NotBlank(message = "邮箱不能为空")
    private String email;
    @NotBlank(message="密码不能为空")
    private String pwd;
    @NotBlank(message="昵称不能为空")
    private String nickName;

    @Override
    public String toString() {
        return "User{" +
                "email='" + email + '\'' +
                ", pwd='" + pwd + '\'' +
                '}';
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }
}
